#!/bin/sh
content=$2
subject=$1
toUser=$3
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ]; then
	echo "Useage: {$0 [subject] [content] [toUser]}"
	exit 0
fi
{                                        
echo "From:<natpacket@163.com>";
echo "To:<$toUser>";
echo "Subject: $subject";   
echo "";
echo "$content";                                
} | ssmtp $toUser
